<!--# layout("/common/layout.html",{"jsBase":"/js/cms/extCourse/"}){ -->

<form class="layui-form layui-form-pane" id="updateForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">课程名字</label>
				<div class="layui-input-inline">
					<input type="text" id="name" name="name"  value="${extCourse.name}"  lay-verify="required" class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">课程价格</label>
				<div class="layui-input-inline">
					<layui:simpleDictSelect style='layui-input-inline' type="data_price_type"
						id="price" name="price" value="${extCourse.price}" layVerify="required" />
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">购买课程价格</label>
				<div class="layui-input-inline">
					<input type="text" id="buyprice" name="buyprice"  value="${extCourse.buyprice}"  lay-verify="required|number" class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">图片地址</label>
				<div class="layui-input-inline">
					<input type="text" id="url" name="url"  value="${extCourse.url}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">创建时间</label>
				<div class="layui-input-inline">
					<input type="text" id="createtime" name="createtime"  value="${extCourse.createtime,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">创建人</label>
				<div class="layui-input-inline">
					<input type="text" id="createuser" name="createuser"  value="${extCourse.createuser}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">更新时间</label>
				<div class="layui-input-inline">
					<input type="text" id="updatetime" name="updatetime"  value="${extCourse.updatetime,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">修改人</label>
				<div class="layui-input-inline">
					<input type="text" id="updateuser" name="updateuser"  value="${extCourse.updateuser}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
	<!-- 业务对象须有hidden字段，保存delFlag和version字段-->
    <input type="hidden" name="id" value=${extCourse.id} />
    <layui:submitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var extCourseEdit = layui.edit
    extCourseEdit.init();
});
</script>
